<div class="am-u-sm-12 widget main-w" style="width: 100%;">
	<div class="am-u-sm-12 cl-p" style="margin-bottom: 20px;">
		<div class="am-u-sm-12 cl-p border-bottom">
			<div style="font-size: 20px;">
				<div class="am-fl" style="padding: 10px 0;margin-right:20px ;">车辆管理</div>
				<div class="am-fl" style="padding: 10px 0;margin-right:20px ;border-bottom: 1px solid #FF9800;">
					<small style="font-size: 12px;padding: 8px 0 0 0;text-align: center;">
							<a style="color: #FF9800;" href="{:url('index')}" >车辆列表</a>
						</small>
				</div>
				
				
				<div class="am-fl" style="padding: 10px 0;margin-right:20px ;">
					<small style="font-size: 12px;padding: 8px 0 0 0;text-align: center;">
							<a  href="{:url('cost')}">费用管理</a>
						</small>
				</div>
				<div class="am-fl" style="padding: 10px 0;">
					<small style="font-size: 12px;padding: 8px 0 0 0;text-align: center;">
						<a  href="{:url('beidou')}">北斗定位</a>
					</small>
				</div>
			</div>
		</div>
	</div>
	<div class="am-u-sm-12 margin_bottom_10" style="font-size: 14px;">
		<input class="car_number" type="text" placeholder="请输入车牌号" style="height: 28px;" />
		<select class="entrust" style="height: 28px;">
			<option>全部-车辆</option>
			<option value="1">自有车辆</option>
			<option value="2">{if $company.company_mode==1}委托车辆{elseif  $company.company_mode==2/}被委托车辆{/if}</option>
			
		</select>
		<button type="button" class="am-btn am-btn-primary am-btn-xs search" style="margin-left: 3px;">查询</button>
		<button type="button" class="am-btn am-btn-primary am-btn-xs add_car" style="margin-left: 3px;">新增</button>
		<button type="button" class="am-btn am-btn-primary am-btn-xs export" style="margin-left: 3px;">导出</button>
		<!--<div class="am-fr">
			<div style="display: inline-block;font-size: 12px" class="num"></div>
			<div style="display: inline-block;">
				<span class="previous" style="font-size: 12px;cursor: pointer;">上一页</span>
				<span class="page" style="font-size: 12px;">1</span>
				<span class="next" style="font-size: 12px;cursor: pointer;">下一页</span>
			</div>
			<div style="display: inline-block;width: 30px;height: 28px;margin-left: 10px;">
				<input type="number" style="font-size: 12px;padding:3px;width:100%" class="page-in" />
			</div>
			<div style="display: inline-block;">
				<button type="button" class="am-btn am-btn-xs pagebtn">go</button>
			</div>
		</div>-->
	</div>
	<div class="am-u-sm-12" id="carlist" style="width: 100%;overflow: hidden;border-bottom: 1px solid #ccc;">
		<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black " id='unit_table'>
				<thead>
					<tr>
						<th>车牌号</th>
						<th>品牌</th>
						<!--<th>工号</th>-->
						<th>车型</th>
						
						<th>所属公司	</th>
						<th>注册时间</th>
						<th>状态	</th>
						<th>操作	</th>
					</tr>
				</thead>
				<tbody>
					
					<!-- more data -->
				</tbody>
	
			</table>
			<div class="am-u-lg-12 am-cf">
	
				<div class="am-fr">
					<ul class="pagination">
						
					</ul>
				</div>
			</div>
	</div>
	<div class="am-u-sm-12">
		<h3 style="text-align: center;">车辆数据分析</h3>
		<div class="am-u-sm-12 border-bottom" style="height: 330px;">
			<div class="am-u-sm-6">
				<div class="carcost" style="text-align: center;"> 0元</div>
				<div id="car_cost" style="height: 300px;"></div>
			</div>
			<div class="am-u-sm-6">
				<div class="allmileage" style="text-align: center;">23,262公里</div>
				<div id="kilometre" style="height: 300px;"></div>
			</div>
		</div>
	</div>
	<div class="am-u-sm-12" >
		<div class="am-u-sm-12"  style="height: 350px;">
			<div class="am-u-sm-6">
				<div style="text-align: center;">百公里综合油耗分析</div>
				<div id='wear' style="height: 300px;"></div>
			</div>
			<div class="am-u-sm-6">
				<div style="text-align: center;">车辆月份支出费用分析</div>
				<div id="analyze_cost" style="height: 300px;"></div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>